package top.winshu.common.constant;

/**
 * @author winshu
 * @since 2021/11/18
 **/
public interface ExceptionCode {

    static String getExceptionPrefix() {
        return ProjectCode.WINSHU.toUpperCase() + ".";
    }

    String DEFAULT = getExceptionPrefix() + "DEFAULT";

    String PARAM = getExceptionPrefix() + "PARAM";

    String DATABASE = getExceptionPrefix() + "DATABASE";

    String BUSINESS = getExceptionPrefix() + "BUSINESS";

    String SERVICE = getExceptionPrefix() + "SERVICE";
}
